package com.cakebackoffice.database;


public class MenuType_has_RecommendedPrice extends DatabaseTable {
    public static final String TABLESNAME = "MenuType_has_RecommendedPrice";
    public static final String ID = "_id";
    public static final String ID_MENUTYPE = "idMenuType";
    public static final String ID_RECOMMENDEDPRICE = "idRecommendedPrice";

    public static final String[] ALLFIELDS = new String[]{
            ID,
            ID_MENUTYPE,
            ID_RECOMMENDEDPRICE
    };

    public static final String CREATE = "CREATE TABLE " + TABLESNAME
            + " ( "
            + ID + " INTEGER PRIMARY KEY AUTOINCREMENT , "
            + ID_MENUTYPE + " INTEGER , "
            + ID_RECOMMENDEDPRICE + " INTEGER ); ";


    private static DatabaseTable ourInstance = new MenuType_has_RecommendedPrice();


    @Override
    public String getTableName() {
        return TABLESNAME;
    }

    @Override
    public String[] getAllFields() {
        return ALLFIELDS;
    }

    @Override
    public String getCreate() {
        return CREATE;
    }

    public static DatabaseTable getInstance() {
        return ourInstance;
    }

    private MenuType_has_RecommendedPrice() {
    }
}
